package cz.incad.psh.oai_solr;

import java.util.Arrays;

/**
 *  @author Alberto Hernandez
 *
 */
public class App 
{
    public static void main( String[] args ) throws Exception
    {
        ProgramArguments arguments = new ProgramArguments();
            if (!arguments.parse(args)) {
                throw new Exception("Program arguments are invalid: " + Arrays.toString(args));
            }
        Converter converter = new Converter(arguments);
        converter.convert();
    }
}
